package jdbc.study.domain;


import jdbc.study.annotation.Logic;
import jdbc.study.annotation.Table;

@Table(name = "movies_metadata")
public class Movie {
    private Integer id;
    private Integer budget;
    private String genres;
    private String homepage;
    private String imdb_id;
    private String original_language;
    private String original_title;
    private String popularity;
    private String poster_path;
    private String release_date;
    private Double revenue;
    private Double runtime;
    private String status;
    private String title;
    private Double vote_average;
    private Integer vote_count;

    @Logic
    private Integer deleted;

    public String getImdb_id() {
        return imdb_id;
    }

    public void setImdb_id(String imdb_id) {
        this.imdb_id = imdb_id;
    }

    public String getPoster_path() {
        return poster_path;
    }

    public void setPoster_path(String poster_path) {
        this.poster_path = poster_path;
    }

    public Double getRuntime() {
        return runtime;
    }

    public void setRuntime(Double runtime) {
        this.runtime = runtime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getVote_average() {
        return vote_average;
    }

    public void setVote_average(Double vote_average) {
        this.vote_average = vote_average;
    }

    public Integer getVote_count() {
        return vote_count;
    }

    public void setVote_count(Integer vote_count) {
        this.vote_count = vote_count;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBudget() {
        return budget;
    }

    public void setBudget(Integer budget) {
        this.budget = budget;
    }

    public String getGenres() {
        return genres;
    }

    public void setGenres(String genres) {
        this.genres = genres;
    }

    public String getHomepage() {
        return homepage;
    }

    public void setHomepage(String homepage) {
        this.homepage = homepage;
    }

    public String getOriginal_language() {
        return original_language;
    }

    public void setOriginal_language(String original_language) {
        this.original_language = original_language;
    }

    public String getOriginal_title() {
        return original_title;
    }

    public void setOriginal_title(String original_title) {
        this.original_title = original_title;
    }

    public String getPopularity() {
        return popularity;
    }

    public void setPopularity(String popularity) {
        this.popularity = popularity;
    }

    public String getRelease_date() {
        return release_date;
    }

    public void setRelease_date(String release_date) {
        this.release_date = release_date;
    }

    public Double getRevenue() {
        return revenue;
    }

    public void setRevenue(Double revenue) {
        this.revenue = revenue;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Movie() {
    }

    public Movie(Integer id, Integer budget, String genres, String homepage, String original_language, String original_title, String popularity, String release_date, Double revenue, String status, Integer deleted) {
        this.id = id;
        this.budget = budget;
        this.genres = genres;
        this.homepage = homepage;
        this.original_language = original_language;
        this.original_title = original_title;
        this.popularity = popularity;
        this.release_date = release_date;
        this.revenue = revenue;
        this.status = status;
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", budget=" + budget +
                ", original_language='" + original_language + '\'' +
                ", original_title='" + original_title + '\'' +
                ", popularity='" + popularity + '\'' +
                ", release_date='" + release_date + '\'' +
                ", revenue=" + revenue +
                '}';
    }
}
